#include <iostream>
#include "driver.h"
using namespace std;
int main(int argc, char *argv[]){
    // 程序入口，可根据需要修改
    printf(".intel_syntax noprefix\n");
	printf(".global main \n");
	printf(".extern printf\n");
	printf(".data\n");
	printf("format_str:\n");
	printf(".asciz \"%%d\\n\"\n");
	printf(".text\n");
    Driver driver(argv[1]);
    
    int res = driver.parse();
    return res;
}